@theme: #eee;
@a: #409eff;
@header: #B3C0D1;
@border: #eaeaea;
@success: rgb(225, 243, 216) !important;
@warning: rgb(250, 236, 216) !important;
@danger: rgb(253, 226, 226) !important;
@overdue: rgb(233, 233, 235) !important;
@color3: #333;
@color6: #666;
@color9: #999;

/*
  通用
*/
.flex-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  height: 100%;
}

#app > .el-container {
  height: 100%;
}

h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 0 10px;
}

a {
  color:@a;
  text-decoration: none;
}

.success {
  background: @success;
}
.warning {
  background: @warning;
}
.danger {
  background: @danger;
}
.overdue {
  background: @overdue;
}

.el-table td {
  border-bottom: none;
}

.el-header {
  background-color: @header;
  color: @color3;
  text-align: center;
  line-height: 60px;
  .option {
    a {
      color: #fff;
      text-decoration: none;
    }
  }
}

.el-aside {
  background-color: #545c64;
  color: @color3;
  text-align: center;
  line-height: 200px;
  .el-menu {
    border-right: 0;
  }
}

.el-main {
  padding: 0;
  height: 100%;
  color: @color3;
  .el-tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    .el-tabs__new-tab {
      margin: 12px 10px 9px;
    }
    .el-tabs__content {
      height: 100%;
    }
  }
}

.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border-radius: 0;
}

.el-tabs__header {
    margin-bottom: 0;
}

.el-tabs__content {
  padding-top: 15px;
}

.el-submenu {
  text-align: left;
}

.dragContent {
  position: relative;
}

.box {
  padding: 20px 10px;
  background: #f0f2f7;
  border-bottom: 1px solid #fff;
  user-select: none;
  box-sizing: border-box;
}

.el-pagination {
  padding: 15px 5px;
  text-align: right;
}

.el-button + .el-button {
  margin-left: 5px;
}

.d-option {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-bottom: 15px;
  padding: 1px 0 5px;
  border-bottom: 1px solid @border;
}

.d-table-btn .el-button--text {
  padding: 0;
}

.login {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: url("../assets/loginLogo.jpg") no-repeat center center;
  .loginTabs {
    margin-bottom: 15px;
    height: 30px;
    line-height: 30px;
    user-select: none;
    text-align: center;
    color: #c0c4cc;
    span {
      transition: all .3s;
      cursor: pointer;
      &.active {
        color: @border;
        font-size: 18px;
      }
    }
  }
  .login-content {
    height: 300px;
    flex: initial;
    input {
      background-color: transparent;
      border: 1px solid @border;
      color: #fff;
    }
    .btn {
      margin-top: 44px;
      margin-bottom: 0;
      button {
        width: 100%;
        background-color: rgba(255,255,255,0.3);
        border-color: @border;
        &:hover {
          background-color: rgba(255,255,255,0.5);
        }
      }
    }
  }
}
